import { Component } from 'react'
import { Link } from 'react-router-dom'
class About extends Component {
    constructor(props) {
        super()
        console.log(props.location.query.id)
    }
    render() {
        return (
            <div>
                这是about页面
                <Link to="/">跳转进入home页面</Link>
            </div>
        )
    }
}

export default About